<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>贸城合同储存系统</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	     <!-- 开始的快捷图标 -->
        <link rel="shortcut icon" href="assets/images/gallery/favicon.ico" type="image/x-icon">
	    <!-- 基本的款式 -->
		<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="assets/css/font-awesome.min.css" />
         <%--彩盒样式--%>
	    <link rel="stylesheet" href="assets/css/colorbox.css" />
	    <!--[if IE 7]>
		<link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
	    <![endif]-->
		<!-- 字体 -->
		<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />
		<!-- ACE的风格 -->
		<link rel="stylesheet" href="assets/css/ace.min.css" />
		<link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
		<link rel="stylesheet" href="assets/css/ace-skins.min.css" />
		<!--定制分页样式  -->
		<link rel="stylesheet" type="text/css" href="assets/css/page.css" />
		<!--[if lte IE 8]>
	    <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
	    <![endif]-->

		<!-- ACE设置处理程序 -->
		<script src="assets/js/ace-extra.min.js"></script>
		<!--[if lt IE 9]>
		<script src="assets/js/html5shiv.js"></script>
		<script src="assets/js/respond.min.js"></script>
		<![endif]-->

  </head>
  
  <body>
       <div class="navbar navbar-default" id="navbar">
			<script type="text/javascript">
				try{ace.settings.check('navbar' , 'fixed')}catch(e){}
			</script>
			
<!--=====================================头部导航栏开始=================================================-->
			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="index.jsp" class="navbar-brand">
						<small>
							<i class="icon-leaf"></i>
							贸城合同储存系统
						</small>
					</a><!-- /.brand -->
				</div><!-- /.navbar-header -->

				<div class="navbar-header pull-right" role="navigation">
					<ul class="nav ace-nav">
						<li class="grey">
							<a data-toggle="dropdown" class="dropdown-toggle" href="javaScript:;">
								<i class="icon-tasks"></i>
								<span class="badge badge-grey">4</span>
							</a>

							<ul class="pull-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
								<li class="dropdown-header">
									<i class="icon-ok"></i>
									还有4个任务完成
								</li>

								<li>
									<a href="javaScript:;">
										<div class="clearfix">
											<span class="pull-left">软件更新</span>
											<span class="pull-right">65%</span>
										</div>

										<div class="progress progress-mini">
											<div style="width:65%" class="progress-bar "></div>
										</div>
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<div class="clearfix">
											<span class="pull-left">硬件更新</span>
											<span class="pull-right">35%</span>
										</div>

										<div class="progress progress-mini ">
											<div style="width:35%" class="progress-bar progress-bar-danger"></div>
										</div>
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<div class="clearfix">
											<span class="pull-left">单元测试</span>
											<span class="pull-right">15%</span>
										</div>

										<div class="progress progress-mini ">
											<div style="width:15%" class="progress-bar progress-bar-warning"></div>
										</div>
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<div class="clearfix">
											<span class="pull-left">错误修复</span>
											<span class="pull-right">90%</span>
										</div>

										<div class="progress progress-mini progress-striped active">
											<div style="width:90%" class="progress-bar progress-bar-success"></div>
										</div>
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										查看任务详情
										<i class="icon-arrow-right"></i>
									</a>
								</li>
							</ul>
						</li>

						<li class="purple">
							<a data-toggle="dropdown" class="dropdown-toggle" href="javaScript:;">
								<i class="icon-bell-alt icon-animated-bell"></i>
								<span class="badge badge-important">8</span>
							</a>

							<ul class="pull-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
								<li class="dropdown-header">
									<i class="icon-warning-sign"></i>
									8条通知
								</li>

								<li>
									<a href="javaScript:;">
										<div class="clearfix">
											<span class="pull-left">
												<i class="btn btn-xs no-hover btn-pink icon-comment"></i>
												新闻评论
											</span>
											<span class="pull-right badge badge-info">+12</span>
										</div>
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<i class="btn btn-xs btn-primary icon-user"></i>
										切换为编辑登录..
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<div class="clearfix">
											<span class="pull-left">
												<i class="btn btn-xs no-hover btn-success icon-shopping-cart"></i>
												新订单
											</span>
											<span class="pull-right badge badge-success">+8</span>
										</div>
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<div class="clearfix">
											<span class="pull-left">
												<i class="btn btn-xs no-hover btn-info icon-twitter"></i>
												粉丝
											</span>
											<span class="pull-right badge badge-info">+11</span>
										</div>
									</a>
								</li>

								<li>
									<a href="#">
										查看所有通知
										<i class="icon-arrow-right"></i>
									</a>
								</li>
							</ul>
						</li>

						<li class="green">
							<a data-toggle="dropdown" class="dropdown-toggle" href="javaScript:;">
								<i class="icon-envelope icon-animated-vertical"></i>
								<span class="badge badge-success">5</span>
							</a>

							<ul class="pull-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
								<li class="dropdown-header">
									<i class="icon-envelope-alt"></i>
									5条消息
								</li>

								<li>
									<a href="javaScript:;">
										<img src="assets/avatars/avatar.png" class="msg-photo" alt="Alex's Avatar" />
										<span class="msg-body">
											<span class="msg-title">
												<span class="blue">Alex:</span>
												不知道写啥 ...
											</span>

											<span class="msg-time">
												<i class="icon-time"></i>
												<span>1分钟以前</span>
											</span>
										</span>
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<img src="assets/avatars/avatar3.png" class="msg-photo" alt="Susan's Avatar" />
										<span class="msg-body">
											<span class="msg-title">
												<span class="blue">Susan:</span>
												不知道翻译...
											</span>

											<span class="msg-time">
												<i class="icon-time"></i>
												<span>20分钟以前</span>
											</span>
										</span>
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<img src="assets/avatars/avatar4.png" class="msg-photo" alt="Bob's Avatar" />
										<span class="msg-body">
											<span class="msg-title">
												<span class="blue">Bob:</span>
												到底是不是英文 ...
											</span>

											<span class="msg-time">
												<i class="icon-time"></i>
												<span>下午3:15</span>
											</span>
										</span>
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										查看所有消息
										<i class="icon-arrow-right"></i>
									</a>
								</li>
							</ul>
						</li>

						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<img class="nav-user-photo" src="assets/avatars/user.jpg" alt="Jason's Photo" />
								<span class="user-info">
									<small>欢迎光临,</small>
									 <shiro:principal></shiro:principal>
								</span>

								<i class="icon-caret-down"></i>
							</a>

							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
								<li>
									<a href="javaScript:;">
										<i class="icon-cog"></i>
										设置
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<i class="icon-user"></i>
										个人资料
									</a>
								</li>

								<li class="divider"></li>

								<li>
									<a href="./logout" onclick="return confirm('确认退出吗？');">
										<i class="icon-off"></i>
										退出
									</a>
								</li>
							</ul>
						</li>
					</ul><!-- /.ace-nav -->
				</div><!-- /.navbar-header -->
			</div><!-- /.container -->
		</div>
<!--=====================================头部导航栏结束=================================================-->		
<!--=====================================左侧导航栏开始=================================================-->
	<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>

				<div class="sidebar" id="sidebar">
					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
					</script>
					<div style="height: 15px;">

					</div>
					<%--<div class="sidebar-shortcuts" id="sidebar-shortcuts">
						<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
							<button class="btn btn-success">
								<i class="icon-signal"></i>
							</button>

							<button class="btn btn-info">
								<i class="icon-pencil"></i>
							</button>

							<button class="btn btn-warning">
								<i class="icon-group"></i>
							</button>

							<button class="btn btn-danger">
								<i class="icon-cogs"></i>
							</button>
						</div>

						<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
							<span class="btn btn-success"></span>

							<span class="btn btn-info"></span>

							<span class="btn btn-warning"></span>

							<span class="btn btn-danger"></span>
						</div>
					</div>--%>

					<ul class="nav nav-list">
						<li class="active">
							<a href="index.jsp">
								<i class="icon-dashboard"></i>
								<span class="menu-text"> 控制台 </span>
							</a>
						</li>

						<li>
							<a href="home/admin/file/file_insert.jsp">
								<i class="icon-edit"></i>
								<span class="menu-text">填写信息 </span>
							</a>
						</li>

						<li>
							<a href="./fileListShow">
								<i class="icon-table"></i>
								<span class="menu-text"> 合同列表 </span>
							</a>
						</li>

						<li>
							<a href="./logout" onclick="return confirm('确认退出吗？');">
								<i class="icon-list"></i>
								<span class="menu-text"> 退出 </span>
							</a>
						</li>

						<%--<li>
							<a href="#" class="dropdown-toggle">
								<i class="icon-list"></i>
								<span class="menu-text"> 类别管理 </span>

								<b class="arrow icon-angle-down"></b>
							</a>

							<ul class="submenu">
								<li>
									<a href="javaScript:;">
										<i class="icon-double-angle-right"></i>
										类别列表
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<i class="icon-double-angle-right"></i>
										添加类别
									</a>
								</li>
							</ul>
						</li>--%>

						<%--<li>
							<a href="javaScript:;" class="dropdown-toggle">
								<i class="icon-user"></i>
								<span class="menu-text">权限管理</span>

								<b class="arrow icon-angle-down"></b>
							</a>

							<ul class="submenu">
								<li>
									<a href="#" class="dropdown-toggle">
										<i class="icon-double-angle-right"></i>
										用户管理
										<b class="arrow icon-angle-down"></b>
									</a>

									<ul class="submenu">
										<li>
											<a href="user_insert.jsp">
												<i class="icon-leaf"></i>
												添加用户
											</a>
										</li>
                                        <li>
											<a href="./getUserWithRoleAll">
												<i class="icon-leaf"></i>
												用户列表
											</a>
										</li>
										
									</ul>
								</li>

								<li>
									<a href="#" class="dropdown-toggle">
										<i class="icon-double-angle-right"></i>
										角色管理
										<b class="arrow icon-angle-down"></b>
									</a>

									<ul class="submenu">
										<li>
											<a href="role_insert.jsp">
												<i class="icon-leaf"></i>
												添加角色
											</a>
										</li>
                                        <li>
											<a href="role_show.jsp">
												<i class="icon-leaf"></i>
												角色列表
											</a>
										</li>
										
									</ul>
								</li>
                                
                                
                                <li>
									<a href="#" class="dropdown-toggle">
										<i class="icon-double-angle-right"></i>
										菜单管理
										<b class="arrow icon-angle-down"></b>
									</a>

									<ul class="submenu">
										<li>
											<a href="auth_insert.jsp">
												<i class="icon-leaf"></i>
												添加菜单
											</a>
										</li>
                                        <li>
											<a href="./getAuthAll">
												<i class="icon-leaf"></i>
												菜单列表
											</a>
										</li>
										
									</ul>
								</li>
                                
							</ul>
						</li>--%>
						
						<%--<li>
							<a href="#" class="dropdown-toggle">
								<i class="icon-headphones"></i>
								<span class="menu-text"> 监控管理 </span>

								<b class="arrow icon-angle-down"></b>
							</a>

							<ul class="submenu">
								<li>
									<a href="javaScript:;">
										<i class="icon-double-angle-right"></i>
										登录记录监控
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<i class="icon-double-angle-right"></i>
										CPU监控
									</a>
								</li>
							</ul>
						</li>--%>
						
						<%--<li>
							<a href="#" class="dropdown-toggle">
								<i class="icon-list"></i>
								<span class="menu-text"> 系统设置 </span>

								<b class="arrow icon-angle-down"></b>
							</a>

							<ul class="submenu">
								<li>
									<a href="javaScript:;">
										<i class="icon-double-angle-right"></i>
										修改密码
									</a>
								</li>

								<li>
									<a href="javaScript:;">
										<i class="icon-double-angle-right"></i>
										退出
									</a>
								</li>
							</ul>
						</li>--%>
						

					</ul>

					<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
					</div>

					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
					</script>
				</div>
<!--=====================================左侧导航栏结束==================================================-->

				<div class="main-content">
<!--=====================================内容页开始=================================================-->
                <sitemesh:write property='body'/>
<!--=====================================内容页结束=================================================-->

			    </div>
</div>
			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->	

        <script src='assets/js/jquery-2.0.3.min.js'></script>

	   <script src="upload/js/imgUp.js"></script>
	   <%--jQuery移动定制--%>
	   <script type="text/javascript">
           if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
	   </script>
	   <%--bootstrap--%>
		<script src="assets/js/bootstrap.min.js"></script>
        <%--提前键入BS2--%>
		<script src="assets/js/typeahead-bs2.min.js"></script>
        <%--jquery彩盒--%>
	   <script src="assets/js/jquery.colorbox-min.js"></script>
	   <!--[if lte IE 8]>
		  <script src="assets/js/excanvas.min.js"></script>
		<![endif]-->

	   <%--日历插件--%>

        <%--jquery-ui定制的--%>
		<script src="assets/js/jquery-ui-1.10.3.custom.min.js"></script>
	   <%--触摸穿孔--%>
		<script src="assets/js/jquery.ui.touch-punch.min.js"></script>
	   <%--苗条的滚动--%>
		<script src="assets/js/jquery.slimscroll.min.js"></script>
	   <%--简单的饼图--%>
		<script src="assets/js/jquery.easy-pie-chart.min.js"></script>
	    <%--迷你图--%>
		<script src="assets/js/jquery.sparkline.min.js"></script>
        <%--浮选--%>
		<script src="assets/js/flot/jquery.flot.min.js"></script>
	    <%--浮选馅饼--%>
		<script src="assets/js/flot/jquery.flot.pie.min.js"></script>
	   <%--浮选调整大小--%>
		<script src="assets/js/flot/jquery.flot.resize.min.js"></script>

		<!-- ACE的脚本 元素 -->
		<script src="assets/js/ace-elements.min.js"></script>
		<script src="assets/js/ace.min.js"></script>

	   <%--网页上传--%>
	   <script src="assets/js/webuploader.js"></script>
	   <%--排序--%>
	   <script src="assets/js/jquery.sortable.js"></script>
       <%--上传--%>
	   <script src="assets/js/upload.js"></script>




  </body>
</html>
